<%@page contentType="text/html; charset=UTF-8" language="java" %>
<%@page pageEncoding="UTF-8"%>
<%@page import="java.util.*" %>
<%@page import="com.mew.util.*" %>
<%@page import="com.humyu.school.corebase.*" %>
<%
	request.setCharacterEncoding("UTF-8");
	String selHtml = (String)request.getAttribute("selHtml");
	String selHtml1 = (String)request.getAttribute("selHtml1");
	String selHtml2 = (String)request.getAttribute("selHtml2");
%>
<html>
<head>
<title></title>
<SCRIPT language=javascript src="js/date.js"></SCRIPT>
<script language="javascript">
	function setAction(aa){
		document.form1.action.value = aa;
		document.form1.submit();
	}
</script>
<link href="css/common.css" rel="stylesheet" type="text/css">
</head>
<body>
<p align="center"><strong>学生刷卡查询</strong></p>
<form name="form1" method="post" action="<%=com.humyu.servlet.DispatcherServlet.PREFIX%>do" target="mainFrame" >
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="center"><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#BBD1FC">
          <tr> 
            <td width="43%" align="right">学校：</td>
            <td colspan="2" align="left"><span class="zi2"><strong>
              <select name="SchoolID" id="select" onChange="setAction('DOCHECKSTUDENTMANAGER')">
                <option value="-1" selected>请选择学校</option>
                <%=selHtml%>
                                          </select>
            </strong></span> </td>
          </tr>
          <tr> 
            <td align="right">班级：</td>
            <td colspan="2" align="left"><span class="zi2"><strong>
              <select name="SchoolClassID" id="select" onChange="setAction('DOCHECKSTUDENTMANAGER')">
                <option value="-1" selected>请选择班级</option>
                <option value="0">全部班级</option>
                <%=selHtml1%>
              </select>
            </strong></span> </td>
          </tr>
          <tr> 
            <td align="right">学生姓名：</td>
            <td colspan="2" align="left"><select name="studentName" id="studentName" >
              <option value="-1" selected>请选择学生</option>
              <option value="0">全部学生</option>
              <%=selHtml2%>
                                                                        </select></td>
          </tr>
          <tr>
            <td align="right">时间起：</td>
            <td width="14%" align="left"><input name="timeStart" type="text" id="timeStart" onFocus="setday(this)"></td>
            <td width="43%" align="left">格式：YYYY-MM-DD *</td>
          </tr>
          <tr>
            <td align="right">时间止：</td>
            <td align="left"><input name="timeEnd" type="text" id="timeEnd" onFocus="setday(this)"></td>
            <td align="left">格式：YYYY-MM-DD *</td>
          </tr>
        </table>
        <p> 
          <input type="submit" name="Submit" value="查　询">
          <input name="action" type="hidden" value="CHECKSTUDENTSEARCH">
          &nbsp; </p></td>
    </tr>
  </table>
</form>
</body>
</html>
